/* 
 * File:   Timer.h
 * Author: Administrator
 *
 * Created on 2015?7?29?, ??4:36
 */

#ifndef TIMER_H
#define	TIMER_H

#ifdef	__cplusplus
extern "C" {
#endif



__extension__ typedef struct               //????????
{
    struct
    {
        unsigned Flag_1mS   :1;           //1mS   ???
        unsigned Flag_10mS  :1;           //10mS  ???
        unsigned Flag_50mS  :1;           //50mS  ???
        unsigned Flag_100mS :1;           //100mS ???
        unsigned Flag_250mS :1;           //250mS ???
        unsigned Flag_500mS :1;           //500mS ???
        unsigned Flag_1S :1;              //1 S   ???
        unsigned :1;
        unsigned Flag_100mSA :1;          //100mSA ???
        unsigned Flag_100mSB :1;          //100mSB ???
        unsigned Flag_100mSC :1;          //100mSC ???
        unsigned Flag_100mSD :1;          //100mSD ???
        unsigned Flag_100mSE :1;          //100mSE ???
        unsigned Flag_100mSF :1;          //100mSF ???
        unsigned Flag_100mSG :1;          //100mSG ???
        unsigned Flag_100mSH :1;          //100mSH ???
    };
} tagTimer;

extern tagTimer Timer ;
extern void Timer1Init(void);              //TMR1????
extern void Timer3Init(void);






#ifdef	__cplusplus
}
#endif

#endif	/* TIMER_H */

